From 4fced72a23ea2b01dce5b8e653f85e672561f19b Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Sat, 25 May 2024 16:11:03 +0200 Subject: [PATCH] Change XDG desktop entry to only run single instance of FreeCAD. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This ensure invoking it to open different files only start the program once, and load new files into the already running instance. Related to https://bugs.debian.org/1029846 and https://github.com/FreeCAD/FreeCAD/commit/c7a21ecbeecefe7c2dfc9e950b3d6bb42351d476 . Partly applied upstream. Arguments applied, program name change is not. Author: Håvard Flaget Aasen Forwarded: https://github.com/FreeCAD/FreeCAD/pull/9855 Last-Update: 2021-12-26 Gbp-Pq: Name 1100-run_single-instance.patch --- src/XDGData/org.freecadweb.FreeCAD.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XDGData/org.freecadweb.FreeCAD.desktop b/src/XDGData/org.freecadweb.FreeCAD.desktop index 1058c1f7..75295cd2 100644 --- a/src/XDGData/org.freecadweb.FreeCAD.desktop +++ b/src/XDGData/org.freecadweb.FreeCAD.desktop @@ -14,7 +14,7 @@ GenericName[de]=CAD-Anwendung GenericName[ko]=CAD 응용프로그램 GenericName[pl]=Aplikacja CAD GenericName[ru]=Система автоматизированного проектирования -Exec=FreeCAD %F +Exec=/usr/bin/freecad - --single-instance %F Terminal=false Type=Application Icon=org.freecadweb.FreeCAD -- 2.30.2